change laravel mix to run on different port

115

change laravel mix to run on different port -

// All you need to do is add the following port configs to webpack.mix.js file 

mix.options({
    hmrOptions: {
        host: 'localhost',
        port: '8079'
    },
});

mix.webpackConfig({
    devServer: {
        port: '8079'
    },
});

Comments

Submit
0 Comments